package ${package}.${moduleName}.service.impl;

import ${javaBasePackage}.annotation.Resource;
import org.springframework.stereotype.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.base.service.impl.BaseServiceImpl;
import ${package}.${moduleName}.service.${ClassName}Service;
import ${package}.${moduleName}.mapper.${ClassName}Mapper;

/**
 * @Description: <#if tableComment!?length gt 0>${tableComment}</#if>
 * @Author: ${author}
 * @Version: ${version}
 * @Date: ${datetime}
 */
@Service
public class ${ClassName}ServiceImpl extends BaseServiceImpl implements ${ClassName}Service {

	@Resource
	private ${ClassName}Mapper ${className}Mapper;

	private Logger log = LoggerFactory.getLogger(${ClassName}ServiceImpl.class);

	@Resource
	public void setMapper(${ClassName}Mapper ${className}Mapper) {
		super.baseMapper = ${className}Mapper;
	}
}
